import axios from '@/utils/request'

// 获取房屋数据
export function housesApi (params) {
  return axios({
    url: '/houses',
    params
  })
}

// 查询房屋具体信息
export function specificApi (id) {
  return axios({
    url: `/houses/${id}`
  })
}
